package com.yonyou.cyxdms.sysmanage.client.domains.dto;

import com.yonyou.cyxdms.framework.bean.dto.base.DMSBaseDTO;
import io.swagger.annotations.ApiModel;

import java.io.Serializable;
import java.util.List;

/**
 * @author ：quankk
 * @description：极光消息推送对象
 * @date ：Created in 2019/3/21 18:07
 * @modified By：
 */
@ApiModel(value = "极光消息推送DTO", description = "极光消息推送对象")
public class JPushDTO extends DMSBaseDTO implements Serializable {

    private static final long serialVersionUID = 1L;
    //推送目标
    private List<String> targetCodes;
    //推送目标类型
    private String targetType = "Registration Id";
    //推送消息
    private String content;
    //APP端消息展示模式;notify-通知栏消息
    //message-后台消息(即自定义消息);all-两者同时
    private String mode;
    //消息标签
    private String title;
    //其他额外参数
    private Object ext;

    public List<String> getTargetCodes() {
        return targetCodes;
    }

    public void setTargetCodes(List<String> targetCodes) {
        this.targetCodes = targetCodes;
    }

    public String getTargetType() {
        return targetType;
    }

    public void setTargetType(String targetType) {
        this.targetType = targetType;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public Object getExt() {
        return ext;
    }

    public void setExt(Object ext) {
        this.ext = ext;
    }
}
